package com.smartstate.IOC.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("half_hour_power_meter_summary")
@ApiModel(description = "电能汇总的实体类")
public class HalfHourPowerMeterSummary implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableField(value = "id")
    @ApiModelProperty(value = "主键id")
    private String id;

    @TableField(value = "meterId")
    @ApiModelProperty(value = "设备id")
    private String meterId;

    @TableField(value = "objId")
    @ApiModelProperty(value = "objId")
    private String objId;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "有功能耗")
    private float detActiveEnergy=0;

    @ApiModelProperty(value = "无功能耗")
    private float detReactiveEnergy=0;

    @ApiModelProperty(value = "视在能耗")
    private float detApparentEnergy=0;

    @ApiModelProperty(value = "峰值")
    private float peekValue = 0;

    @ApiModelProperty(value = "平值")
    private float flatValue = 0;

    @ApiModelProperty(value = "谷值")
    private float valleyValue = 0;

    @ApiModelProperty(value = "单价")
    private float price=0;

    @ApiModelProperty(value = "总价")
    private float totalPrice=0;

    @ApiModelProperty(value = "介质类型")
    private String rateType;

    @ApiModelProperty(value = "日")
    private String dayStr;

    @ApiModelProperty(value = "周")
    private String weekStr;

    @ApiModelProperty(value = "月")
    private String monthStr;

    @ApiModelProperty(value = "年")
    private String yearStr;

    private float fActiveEnergy=0;
    private float gActiveEnergy=0;
    private float pActiveEnergy=0;
    private float fTotalPrice=0;
    private float gTotalPrice=0;
    private float pTotalPrice=0;
}
